package com.cf.email;


import javax.mail.MessagingException;

/**
 * 邮件发送接口
 */
public interface JavaMailService {

    boolean sendSimpleMail(String to, String from, String subject, String content);

    boolean sendMimeMail(String to, String from, String subject, String content) throws MessagingException;


}
